<?php
    include "../library/demo.php";


    function getDateStr($type1,$type2){
        $arr = array('日','一','二','三','四','五','六');
        $day = date('w');//一周内的第几天 0~6
        return date("Y{$type1}m{$type1}d H:s:i");
    }

    echo getDateStr('-',':');

?>